Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableQuery D

Total Complexity 187
Dependencies 10
Dependents 4
Total lines 1,241
Lines of code 708
Logical lines of code 371
Comment lines 216
Methods 27
Properties 19

Methods 27

Method Rating Maintainability Complexity Lines of code
process_date_args()
B
36 21 74
build_query()
B
40 17 50
get_field_mapping_info()
A
43 13 46
maybe_remap_args()
A
39 10 65
sanitize_order_orderby()
A
44 10 45
generate_customer_query()
A
51 11 24
where()
A
48 10 31
join()
A
49 10 28
process_orderby()
A
50 8 27
process_date_query_columns()
A
47 7 38
process_limit()
S
60 8 12
map_gmt_and_post_keys_to_hpos_keys()
S
46 6 41
process_orders_table_query_args()
S
47 6 37
get_core_mapping_join()
S
53 7 19
__get()
S
59 7 16
sanitize_status()
S
58 7 14
process_addresses_table_query_args()
S
46 4 40
run_query()
S
59 5 13
date_to_date_query_arg()
S
53 4 23
process_operational_data_table_query_args()
S
52 3 28
build_count_query()
S
66 3 7
get_table_name()
S
69 2 6
sanitize_order()
S
74 2 4
arg_isset()
S
76 2 3
get_core_mapping_alias()
S
72 2 5
get()
S
79 1 3
__construct()
S
65 1 9